Total Harmonic distortion in matlab simulink